package com.liao.seckill.dao;

import com.liao.seckill.pojo.TbOrderInf;
import org.springframework.data.repository.CrudRepository;

public interface OrderDao extends CrudRepository<TbOrderInf,String> {

    TbOrderInf findByUserIdAndGoodsId(Integer userId,Integer goodsId);
}
